<%@ Assembly Name="SPWarmUp.Components, Version=1.0.0.0, Culture=neutral, PublicKeyToken=0f874eed8ff6c274" %>
<%@ Page Language="C#" MasterPageFile="~/_admin/admin.master" Inherits="SPWarmup.SPWarmUp.Components.SPWarmUpConfig" %>
<%@ Register TagPrefix="SharePoint" Namespace="Microsoft.SharePoint.WebControls" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="Utilities" Namespace="Microsoft.SharePoint.Utilities" Assembly="Microsoft.SharePoint, Version=14.0.0.0, Culture=neutral, PublicKeyToken=71e9bce111e9429c" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormSection" Src="/_controltemplates/InputFormSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="InputFormControl" Src="/_controltemplates/InputFormControl.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="ButtonSection" Src="/_controltemplates/ButtonSection.ascx" %>
<%@ Register TagPrefix="wssuc" TagName="SchedulePicker" src="~/_controltemplates/SchedulePicker.ascx" %>

<asp:Content ContentPlaceHolderId="PlaceHolderPageTitle" runat="server">
	<SharePoint:EncodedLiteral runat="server" text="SPWarmUp Configuration" EncodeMethod="HtmlEncode"/>
</asp:Content>
<asp:Content ContentPlaceHolderId="PlaceHolderPageTitleInTitleArea" runat="server">
	<SharePoint:EncodedLiteral runat="server" text="SPWarmUp Configuration" EncodeMethod="HtmlEncode"/>
</asp:Content>
<asp:Content ID="PageDescription" ContentPlaceHolderID="PlaceHolderPageDescription"  runat="server">
    <SharePoint:EncodedLiteral runat="server" text="Configuration Settings for the SPWarmUp Component" EncodeMethod="HtmlEncode"/>
</asp:Content>
<asp:Content ID="Main" ContentPlaceHolderID="PlaceHolderMain" runat="server">

	<table id="maintable" border="0" cellspacing="0" cellpadding="0" class="ms-propertysheet" width="100%">
      <wssuc:InputFormSection Title="SPWarmUp Schedule Settings" runat="server">
        <Template_Description>
          <SharePoint:EncodedLiteral ID="EncodedLiteral1" runat="server" text="Set the schedule for the SPWarmUp component." EncodeMethod="HtmlEncode"/>
        </Template_Description>
        <Template_InputFormControls>
          <wssuc:InputFormControl runat="server" LabelText="Warm Up Job Intervall">
				<Template_control>
					<wssuc:SchedulePicker 
						id="JobSchedule"
						Minutes="true"
						Hourly="true"
						Daily="true"
						Weekly="true"
						Monthly="true"
						runat="server" />
				</Template_control>
			</wssuc:InputFormControl>
          </wssuc:InputFormControl>
        </Template_InputFormControls>
      </wssuc:InputFormSection>
      <wssuc:InputFormSection Title="SPWarmUp Topology Settings" runat="server">
        <Template_Description>
          <SharePoint:EncodedLiteral ID="EncodedLiteral2" runat="server" text="Select which applications shall be warmed up." EncodeMethod="HtmlEncode"/>
        </Template_Description>
        <Template_InputFormControls>
          <wssuc:InputFormControl runat="server" LabelText="Applications to be started up">
				<Template_control>
                
					<%--<SharePoint:WebApplicationSelector id="WebApplicationSelector" runat="server" 
                        AllowAdministrationWebApplication="true" 
			            AllowPopup="true"
			            TypeLabelCssClass="ms-listheaderlabel"
			            HoverCellActiveCssClass = "ms-viewselectorhover"
			            HoverCellInActiveCssClass = "ms-viewselector"
                        OnContextChange="WebApplicationSelected"  />--%>
                       <asp:ListBox runat="server" ID="WebApplications" SelectionMode="Multiple" CssClass="ms-input"  />
				</Template_control>
			</wssuc:InputFormControl>
          </wssuc:InputFormControl>
        </Template_InputFormControls>
      </wssuc:InputFormSection>
      <wssuc:ButtonSection runat="server" ShowStandardCancelButton="False">
        <Template_Buttons>
          <asp:placeholder ID="Placeholder1" runat="server">
            <asp:Button runat="server" class="ms-ButtonHeightWidth" ID="BtnOk" Text="Ok" />
            <SeparatorHtml>
                <span id="idSpace" class="ms-SpaceBetButtons" />
            </SeparatorHtml>
            <asp:Button runat="server" class="ms-ButtonHeightWidth" ID="BtnCancel" Text="Cancel" />           
          </asp:PlaceHolder>
        </Template_Buttons>
      </wssuc:ButtonSection>
    </table>     
	    
    <SharePoint:FormDigest ID="FormDigest1" runat="server" />
</asp:Content>

